package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.banquet.UserBanquetInvitation;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class UserBanquetInvitationBussiness {

    public static Map<String,UserBanquetInvitation> getUserBanquetInvitationList(long userId) {
        return DaoHelper.getUserBanquetInvitationDaoImpl().getUserBanquetInvitationList(userId);
    }

    public static boolean addUserBanquetInvitation(UserBanquetInvitation data) {
        return DaoHelper.getUserBanquetInvitationDaoImpl().add(data);
    }

    public static boolean updateUserBanquetInvitation(UserBanquetInvitation data) {
        return DaoHelper.getUserBanquetInvitationDaoImpl().update(data);
    }
}
